﻿using System;
using System.Collections.Generic;
using System.Text;

namespace YiSha.Enums
{
    public enum MsgCode
    {

        /// <summary>
        /// 不存在
        /// </summary>
        DoesNotExist = 404,
        /// <summary>
        /// 请求超时
        /// </summary>
        ReuestTimeout = 996,
        /// <summary>
        /// 服务器异常
        /// </summary>
        ServiceException = 997,
        /// <summary>
        /// 非法请求
        /// </summary>
        BadRequest = 998,
        /// <summary>
        /// 未知错误
        /// </summary>
        Unknow = 999,
        /// <summary>
        /// 操作成功
        /// </summary>
        Success = 1000,
        /// <summary>
        /// 操作失败
        /// </summary>
        Fail = 1002,
        /// <summary>
        /// 未登录
        /// </summary>
        NeedLogin = 1005,
    }
}
